package ModelLayer;

public class Employee extends Contact {
	private String CPR;
	private String name;
	private String surname;
	private String role;
	private double salaryPerHour;
	private double hoursPerWeek;
	
	public Employee()
	{
		super(0, "", "", "", "", "", "");
		setCPR("");
		setName("");
		setSurname("");
		setRole("");
		setSalaryPerHour(0.0);
		setHoursPerWeek(0.0);
	}
	
	public Employee(int id, String address, String city, String zipCode, String phoneNo, String eMail, String status, String CPR, String name, String surname, String role, double salaryPerHour, double hoursPerWeek)
	{
		super(id, address, city, zipCode, phoneNo, eMail, status);
		this.setCPR(CPR);
		this.setName(name);
		this.setSurname(surname);
		this.setRole(role);
		this.setSalaryPerHour(salaryPerHour);
		this.setHoursPerWeek(hoursPerWeek);
	}

	public String getCPR() {
		return CPR;
	}

	public void setCPR(String cPR) {
		CPR = cPR;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSurname() {
		return surname;
	}

	public void setSurname(String surname) {
		this.surname = surname;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public double getSalaryPerHour() {
		return salaryPerHour;
	}

	public void setSalaryPerHour(double salaryPerHour) {
		this.salaryPerHour = salaryPerHour;
	}

	public double getHoursPerWeek() {
		return hoursPerWeek;
	}

	public void setHoursPerWeek(double hoursPerWeek) {
		this.hoursPerWeek = hoursPerWeek;
	}
}
